import {Component, Prop, Vue} from 'vue-property-decorator'
import btnResetPrint from './btn_reset_print.tsx'
import {store} from '@/store/index'


@Component({})
export default class btnPrint extends btnResetPrint{
    name:string = 'btn-Print'

    get disabled (){
        return this.singleStatus === '分配集印'
    }
    
    clickFn (){

        this.commitCurrentSingle(this.mod.key);
        store.dispatch('request', {
            url: 'get/single',
            data: {} 
        })
        
    }
    

}